package com.chinaunicom.behavior.state;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/22 14:21
 * Description: 包含所有状态的抽象类
 */
public abstract class State {
    private Document document;
    
    public State(Document document){
        this.document = document;
    }
    
    public Document getDocument(){
        return this.document;
    }
    
    // 处理草稿状态
    public void render(){};
    
    // 处理审阅状态
    public void review(){};
    
    // 处理发布状态
    public void publish(){}
}
